package cn.sharp.bbs.entity.DO;

import java.io.Serializable;
import java.util.Date;

public class Bill implements Serializable {
    private Long id;

    private Long userGet;

    private Long userSend;

    private Integer num;

    private Long from;

    private Integer type;

    private Date time;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserGet() {
        return userGet;
    }

    public void setUserGet(Long userGet) {
        this.userGet = userGet;
    }

    public Long getUserSend() {
        return userSend;
    }

    public void setUserSend(Long userSend) {
        this.userSend = userSend;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Long getFrom() {
        return from;
    }

    public void setFrom(Long from) {
        this.from = from;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userGet=").append(userGet);
        sb.append(", userSend=").append(userSend);
        sb.append(", num=").append(num);
        sb.append(", from=").append(from);
        sb.append(", type=").append(type);
        sb.append(", time=").append(time);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}